<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/vue2.6.12.js"></script>
</head>
<body>
    <div id="app">
        <input type="text" v-model="inpt">
        <div>
            <ul>
                <li v-for="(item,index) in chang()" :key="index">{{item}}</li>
            </ul>
        </div>
    </div>
</body>
<script>
    var vm =new Vue({
        el:"#app",
        data:{
            inpt:'',
            lists:["1","2","3","4","5","6","7","8","9",]
        },
        methods:{
            chang(){
                return this.lists.filter(item=>item.includes(this.inpt));
            }
        }
    });
</script>
</html>